package com.kingyun.gpsinspection.purificationservice.dao.mapper.jsm;


import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.DeviceRecord;

import java.util.List;

public interface DeviceRecordMapper {
    int deleteByPrimaryKey(String deviceRecordId);

    int insert(DeviceRecord record);

    int insertSelective(DeviceRecord record);

    DeviceRecord selectByPrimaryKey(String deviceRecordId);

    int updateByPrimaryKeySelective(DeviceRecord record);

    int updateByPrimaryKey(DeviceRecord record);
    /**
     *查询该设备的出库、启用、废弃的时间信息
     * @param deviceRecord
     * @return
     */
    List<DeviceRecord> selectByDericeId(DeviceRecord deviceRecord);
}